package com.cysyz.mylib.jpadao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @File name : User
 * @Description :
 * @Creator : cuiyong
 * @CreateTime : 16/9/29 11:23
 * @Version : 1.0
 * @Update records:
 * 1.0 16/9/29 by cuiyong: Created
 * All rights served : SINA Corporation
 */
@Entity
@Table(name="entity_user")
public class User {
    @Id
    private Integer id;

    @Column
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
